package org.meeting.radish.service;

import org.meeting.radish.entity.Question;

import java.util.List;

public interface QuestionService {

    Integer addQuestion(Question question);
    Integer deleteQuestion(Integer qid);
    Integer updateQuestion(Question question);

    Question queryQuestionByQid(Integer qid);

    /**
     * 全部题目和用户的答题信息
     *
     * @param uid
     * @return
     */
    List<Question> queryOnceQuestion(Integer uid);

}
